<script>
import {defineComponent} from 'vue'

export default defineComponent({
  name: "ActPlaceSize",
  props: {
    place: String,
    size: Number,
    applyNum: Number
  }
})
</script>

<template>
  <div class="act-place-size-div">
    <div class="act-place-div">
      地点： {{place}}
    </div>
    <div class="act-size-div">
      人数： {{applyNum}}<span v-if="size > 0"> / {{size}}</span>
    </div>
  </div>
</template>

<style scoped lang="less">
@import "@/assets/style/less/all.less";
.act-place-size-div{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  
  font-size: 14px;
  line-height: 14px;
  text-align: left;
  color: @sta_color;
  
  >.act-size-div{
    margin-left: 10px;
  }
}

</style>